# $Id: PKGBUILD 66277 2012-02-23 08:39:19Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perlio-via-symlink
pkgver=0.05
pkgrel=5
pkgdesc="Perl/CPAN Module PerlIO::via::symlink"
arch=("any")
url="http://search.cpan.org/dist/PerlIO-via-symlink/"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/C/CL/CLKAO/PerlIO-via-symlink-$pkgver.tar.gz")
md5sums=('bf33533dba6a48eb459a15df15c8415f')

build() {
  cd $srcdir/PerlIO-via-symlink-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
